Selecting function fixing bugs

3 jobs for develop-13-selecting-function
in 10 seconds, using 0 compute credits, and was queued for 2 seconds