Update SecureObjectAccessController.groovy

That small change covers the case when the list of study is empty. Without the page displays an error.