Simplified entity_record_limit_dao cache list key set/delete functions when it comes to the generation of their keys.
Updated entity_record_dao's write functions to have the same new (better) logic flow as the entity_record_limit_dao write functions.