Fix not to show the error message when using the PostOnlyContext and the related context is exisiting

The error message is "currentRecord is null - EXCEPTION-25".