Fixed a bug with likes to prevent crashing