Fixes the addinf new profile in new database tables stgructure
Hot fix for the correct MySQL SELECT string