BUGFIX: license check fails due to incorrect date conditions check