Change hook_node_load to hook_node_view and altered logic since it was executing extra SQL queries when they weren't needed.