LPS-51379 Check the entry value if it is null before adding it.

Hey Dale 

This is a fix for LPS-51379.

We need to valuate if entry values equals null before adding them into database.

Let me know if you have any concerns

Thanks
John.