Fixed user check when inserting new ads.