Issue #1121816: preventing strict warning when user doesn't have access to block contents, also preventing null being displayed on ajax under same circumstances