Fixed invite date check

Signed-off-by: Tom Wright <tom@inflatablecookie.com>