Prevent FC in low memory conditions

Add missing null cursor checks

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I974eea82cac3dfe3a01e5d79c1721d3514f940f6
Merge "Prevent FC in low memory conditions" into jb-mr1

Change-Id: I7313e8a22374fcb4b53e4552722d9e85bcee3d55