Yeah, that logic was duplicated from the server-side.