Fixed issue with querying the albums api endpoint (#356)