Fix for null pointer in getauxblock RPC