Prevent FC in low memory conditions

Add missing null cursor checks

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

Change-Id: I974eea82cac3dfe3a01e5d79c1721d3514f940f6
Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1-mod-rasDark