Use correct logic statement for checking valid url prefix