Fixed setting initial value in selects with url and/or query, added test